package cn.drew.house.service;

import cn.drew.basic.utils.PageList;
import cn.drew.house.domain.HousingInformation;
import cn.drew.house.query.HousingInformationQuery;

import java.util.List;

public interface HousingInformationService {
    //添加
    void add(HousingInformation housingInformation);
    //修改
    void update(HousingInformation housingInformation);
    //删除
    void delete(Long id);
    //查找一个
    HousingInformation findById(Long id);
    //查找所有
    List<HousingInformation> findAll();

    //分页查找数据
    PageList<HousingInformation> queryByPage(HousingInformationQuery housingInformationQuery);

    //批量删除
    void patchDelete(List<Long> ids);

    //根据部门id查找所有员工
//    List<HousingInformation> findByDeptid(Long deptid);
}
